package edu.stanford.bmir.protege.web.client.ui.ontology.stkos.enricher.statistical;

import java.util.Collection;

import com.google.gwt.user.client.ui.ScrollPanel;

import edu.stanford.bmir.protege.web.client.project.Project;
import edu.stanford.bmir.protege.web.client.rpc.data.EntityData;
import edu.stanford.bmir.protege.web.client.ui.portlet.AbstractOWLEntityPortlet;

public class StkosEnricherStatisticalPortlet extends AbstractOWLEntityPortlet {

	private StkosEnricherStatisticalEditorView statisticalEditorView;

	public StkosEnricherStatisticalPortlet(Project project) {
		super(project);
	}

	@Override
	public Collection<EntityData> getSelection() {
		return null;
	}

	@Override
	public void reload() {

	}

	@Override
	public void initialize() {
		setTitle("统计结果");
		setHeight(190);

		statisticalEditorView = new StkosEnricherStatisticalEditorView(
				getProject());
		add(new ScrollPanel(statisticalEditorView));
		doLayout();
	}

	public StkosEnricherStatisticalEditorView getStatisticalView() {
		return statisticalEditorView;
	}
}
